

#include "../base/Data_Base.h"
// gles 1
#include <GLES/gl.h>
#include <GLES/glext.h>
#include <GLES/glplatform.h>

#ifndef _TwoD_TexBean_H
#define _TwoD_TexBean_H


/** 配置数组的类型定义 */
typedef float CONFTYPE;


/**
 *  config info
 */
struct TwoD_TexBean_Conf : public Data_Base_Conf{
    // 配置数组
    CONFTYPE* m_tConfs;
        
    TwoD_TexBean_Conf();
    
};

/**
 * 2D Data's DataSet, One DataSet For save One Texture and its Logic
 */
class TwoD_TexBean : public Data_Base
{
public:
    // image type
    int type;
    // identifier
    int identifier;
    // image data
    GLbyte* m_vData;
    // image width
    int m_nWidth;
    // image height
    int m_nHeight;
    
    TwoD_TexBean();
private:

    TwoD_TexBean_Conf* m_sTwoD_TexBean_Conf;
    
};

#endif





